<?php
	$i = 0;$stt=0;
	foreach ($results as $chidoansv):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>    
	<tr>
		<td><?php echo $stt=$stt+1; ?>&nbsp;</td>
		<td><?php echo $chidoansv['Chidoansv']['machidoansv']; ?>&nbsp;</td>
		<td><?php echo $chidoansv['Chidoansv']['tenchidoan']; ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('Sửa', true), array('action' => 'edit', $chidoansv['Chidoansv']['id'])); ?>
			<?php echo $this->Html->link(__('Xóa', true), array('action' => 'delete', $chidoansv['Chidoansv']['id'],$khoa_id), null, sprintf(__('Bạn muốn xóa chi đoàn này ?', true), $chidoansv['Chidoansv']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>